#include <iostream>

int main(int argc, char const *argv[])
{
    int N = 3;
    int C = 3;
    int scores[N][C] = {{100, 100, 100},
                        {90, 50, 100},
                        {60, 70, 80}};

    for (int i = 0; i < N; i++)
    {
        int sum = 0;
        for (int j = 0; j < C; j++)
        {
            sum += scores[i][j];
        }
        std::cout << "总成绩 " << i + 1 << " 为: " << sum << std::endl;
    }
    std::cout << "Finish!" << std::endl;

    return 0;
}
